# near model CODE resource # entry label at 0x0000 export_22: entry: 00000000 4E56 0000 link A6, 0 00000004 4AAE 0008 tst.l [A6 + 0x8] 00000008 6606 bne +0x8 /* 00000010 */ 0000000A 422E 000C clr.b [A6 + 0xC] 0000000E 6010 bra +0x12 /* 00000020 */ label00000010: 00000010 206E 0008 movea.l A0, [A6 + 0x8] 00000014 4A68 006C tst.w [A0 + 0x6C] 00000018 5DC0 slt D0 0000001A 4400 neg.b D0 0000001C 1D40 000C move.b [A6 + 0xC], D0 label00000020: 00000020 4E5E unlink A6 00000022 2E9F move.l [A7], [A7]+ 00000024 4E75 rts export_23: 00000026 4E56 FFF8 link A6, -0x0008 0000002A 206E 0008 movea.l A0, [A6 + 0x8] 0000002E 43EE FFF8 lea.l A1, [A6 - 0x8] 00000032 22D8 move.l [A1]+, [A0]+ 00000034 22D8 move.l [A1]+, [A0]+ 00000036 486E FFF8 pea.l [A6 - 0x8] 0000003A A870 trap LocalToGlobal 0000003C 486E FFFC pea.l [A6 - 0x4] 00000040 A870 trap LocalToGlobal 00000042 206E 000C movea.l A0, [A6 + 0xC] 00000046 43EE FFF8 lea.l A1, [A6 - 0x8] 0000004A 20D9 move.l [A0]+, [A1]+ 0000004C 20D9 move.l [A0]+, [A1]+ 0000004E 4E5E unlink A6 00000050 2E9F move.l [A7], [A7]+ 00000052 4E75 rts fn00000054: 00000054 4E56 FF00 link A6, -0x0100 00000058 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000005C 486E FF00 pea.l [A6 - 0x100] 00000060 4EAD 00CA jsr [A5 + 0xCA] 00000064 206E 000C movea.l A0, [A6 + 0xC] 00000068 43EE FF00 lea.l A1, [A6 - 0x100] 0000006C 1F11 move.b -[A7], [A1] 0000006E 3F3C 00FF move.w -[A7], 0xFF 00000072 4EAD 02DA jsr [A5 + 0x2DA] 00000076 703F moveq.l D0, 0x3F label00000078: 00000078 20D9 move.l [A0]+, [A1]+ 0000007A 51C8 FFFC dbf D0, -0x6 /* 00000078 */ 0000007E 4E5E unlink A6 00000080 2E9F move.l [A7], [A7]+ 00000082 4E75 rts export_24: 00000084 4E56 FDFC link A6, -0x0204 00000088 302E 0008 move.w D0, [A6 + 0x8] 0000008C 48C0 ext.l D0 0000008E 2D40 FEFC move.l [A6 - 0x104], D0 00000092 486E FDFC pea.l [A6 - 0x204] 00000096 2F2E FEFC move.l -[A7], [A6 - 0x104] 0000009A 4EBA FFB8 jsr [PC - 0x48 /* 00000054 */] 0000009E 205F movea.l A0, [A7]+ 000000A0 1F10 move.b -[A7], [A0] 000000A2 3F3C 00FF move.w -[A7], 0xFF 000000A6 4EAD 02DA jsr [A5 + 0x2DA] 000000AA 43EE FF00 lea.l A1, [A6 - 0x100] 000000AE 703F moveq.l D0, 0x3F label000000B0: 000000B0 22D8 move.l [A1]+, [A0]+ 000000B2 51C8 FFFC dbf D0, -0x6 /* 000000B0 */ 000000B6 206E 000A movea.l A0, [A6 + 0xA] 000000BA 43EE FF00 lea.l A1, [A6 - 0x100] 000000BE 1F11 move.b -[A7], [A1] 000000C0 3F3C 00FF move.w -[A7], 0xFF 000000C4 4EAD 02DA jsr [A5 + 0x2DA] 000000C8 703F moveq.l D0, 0x3F label000000CA: 000000CA 20D9 move.l [A0]+, [A1]+ 000000CC 51C8 FFFC dbf D0, -0x6 /* 000000CA */ 000000D0 4E5E unlink A6 000000D2 205F movea.l A0, [A7]+ 000000D4 544F addq.w A7, 2 000000D6 4ED0 jmp [A0] export_25: 000000D8 4E56 FF00 link A6, -0x0100 000000DC 206E 0008 movea.l A0, [A6 + 0x8] 000000E0 43EE FF00 lea.l A1, [A6 - 0x100] 000000E4 703F moveq.l D0, 0x3F label000000E6: 000000E6 22D8 move.l [A1]+, [A0]+ 000000E8 51C8 FFFC dbf D0, -0x6 /* 000000E6 */ 000000EC 486E FF00 pea.l [A6 - 0x100] 000000F0 1F3C 0001 move.b -[A7], 0x1 000000F4 4EAD 006A jsr [A5 + 0x6A] 000000F8 206E 000C movea.l A0, [A6 + 0xC] 000000FC 43EE FF00 lea.l A1, [A6 - 0x100] 00000100 1F11 move.b -[A7], [A1] 00000102 3F3C 00FF move.w -[A7], 0xFF 00000106 4EAD 02DA jsr [A5 + 0x2DA] 0000010A 703F moveq.l D0, 0x3F label0000010C: 0000010C 20D9 move.l [A0]+, [A1]+ 0000010E 51C8 FFFC dbf D0, -0x6 /* 0000010C */ 00000112 4E5E unlink A6 00000114 2E9F move.l [A7], [A7]+ 00000116 4E75 rts export_26: fn00000118: 00000118 4E56 FFDC link A6, -0x0024 0000011C 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4 00000120 286E 000E movea.l A4, [A6 + 0xE] 00000124 3A2E 000A move.w D5, [A6 + 0xA] 00000128 41EE FFE4 lea.l A0, [A6 - 0x1C] 0000012C 43ED FDD4 lea.l A1, [A5 - 0x22C] 00000130 20D9 move.l [A0]+, [A1]+ 00000132 20D9 move.l [A0]+, [A1]+ 00000134 2654 movea.l A3, [A4] 00000136 41EE FFEC lea.l A0, [A6 - 0x14] 0000013A 43EB 0010 lea.l A1, [A3 + 0x10] 0000013E 20D9 move.l [A0]+, [A1]+ 00000140 20D9 move.l [A0]+, [A1]+ 00000142 2F14 move.l -[A7], [A4] 00000144 302E FFE8 move.w D0, [A6 - 0x18] 00000148 D07C 0032 add.w D0, 0x32 /* '2' */ 0000014C 3F00 move.w -[A7], D0 0000014E 302E FFEA move.w D0, [A6 - 0x16] 00000152 D07C 0032 add.w D0, 0x32 /* '2' */ 00000156 3F00 move.w -[A7], D0 00000158 4267 clr.w -[A7] 0000015A A91B trap MoveWindow 0000015C 2F14 move.l -[A7], [A4] 0000015E 1F3C 0001 move.b -[A7], 0x1 00000162 A908 trap ShowHide 00000164 206B 0072 movea.l A0, [A3 + 0x72] 00000168 2050 movea.l A0, [A0] 0000016A 43EE FFF4 lea.l A1, [A6 - 0xC] 0000016E 5488 addq.l A0, 2 00000170 22D8 move.l [A1]+, [A0]+ 00000172 22D8 move.l [A1]+, [A0]+ 00000174 2F14 move.l -[A7], [A4] 00000176 4267 clr.w -[A7] 00000178 A908 trap ShowHide 0000017A 302E FFFA move.w D0, [A6 - 0x6] 0000017E 906E FFF6 sub.w D0, [A6 - 0xA] 00000182 906E FFF2 sub.w D0, [A6 - 0xE] 00000186 322E FFEE move.w D1, [A6 - 0x12] 0000018A D240 add.w D1, D0 0000018C 48C1 ext.l D1 0000018E 83FC 0002 divs.w D1, 0x2 00000192 3C01 move.w D6, D1 00000194 302E FFF8 move.w D0, [A6 - 0x8] 00000198 906E FFF4 sub.w D0, [A6 - 0xC] 0000019C 906E FFF0 sub.w D0, [A6 - 0x10] 000001A0 3E2E FFEC move.w D7, [A6 - 0x14] 000001A4 DE40 add.w D7, D0 000001A6 7013 moveq.l D0, 0x13 000001A8 B047 cmp.w D0, D7 000001AA 6C04 bge +0x6 /* 000001B0 */ 000001AC 7E13 moveq.l D7, 0x13 000001AE 600A bra +0xC /* 000001BA */ label000001B0: 000001B0 3007 move.w D0, D7 000001B2 48C0 ext.l D0 000001B4 81FC 0002 divs.w D0, 0x2 000001B8 3E00 move.w D7, D0 label000001BA: 000001BA 302E 000C move.w D0, [A6 + 0xC] 000001BE 5340 subq.w D0, 1 000001C0 6B00 008E bmi +0x90 /* 00000250 */ 000001C4 0C40 0008 cmpi.w D0, 0x8 000001C8 6E00 0086 bgt +0x88 /* 00000250 */ 000001CC D040 add.w D0, D0 000001CE 303B 0006 move.w D0, [PC + D0.w + 0x6] 000001D2 4EFB 0000 jmp [PC + D0.w] 000001D6 003A 0014 0048 ori.b [PC + 0x48 /* 00000220 */], 0x14 000001DC 003A 0014 0048 ori.b [PC + 0x48 /* 00000226 */], 0x14 000001E2 003A 0014 0048 ori.b [PC + 0x48 /* 0000022C */], 0x14 000001E8 3007 move.w D0, D7 000001EA D07C 0014 add.w D0, 0x14 000001EE 322E FFE8 move.w D1, [A6 - 0x18] 000001F2 927C 0014 sub.w D1, 0x14 000001F6 926E FFF8 sub.w D1, [A6 - 0x8] 000001FA 342E FFF4 move.w D2, [A6 - 0xC] 000001FE D441 add.w D2, D1 00000200 48C2 ext.l D2 00000202 85FC 0002 divs.w D2, 0x2 00000206 D440 add.w D2, D0 00000208 3D42 FFE0 move.w [A6 - 0x20], D2 0000020C 6042 bra +0x44 /* 00000250 */ 0000020E 3007 move.w D0, D7 00000210 D07C 0014 add.w D0, 0x14 00000214 D045 add.w D0, D5 00000216 3D40 FFE0 move.w [A6 - 0x20], D0 0000021A 6034 bra +0x36 /* 00000250 */ 0000021C 7013 moveq.l D0, 0x13 0000021E B047 cmp.w D0, D7 00000220 6618 bne +0x1A /* 0000023A */ 00000222 302E FFF0 move.w D0, [A6 - 0x10] 00000226 906E FFEC sub.w D0, [A6 - 0x14] 0000022A 5440 addq.w D0, 2 0000022C D045 add.w D0, D5 0000022E 322E FFE8 move.w D1, [A6 - 0x18] 00000232 9240 sub.w D1, D0 00000234 3D41 FFE0 move.w [A6 - 0x20], D1 00000238 6016 bra +0x18 /* 00000250 */ label0000023A: 0000023A 302E FFF0 move.w D0, [A6 - 0x10] 0000023E 906E FFEC sub.w D0, [A6 - 0x14] 00000242 D047 add.w D0, D7 00000244 D045 add.w D0, D5 00000246 322E FFE8 move.w D1, [A6 - 0x18] 0000024A 9240 sub.w D1, D0 0000024C 3D41 FFE0 move.w [A6 - 0x20], D1 label00000250: 00000250 302E 000C move.w D0, [A6 + 0xC] 00000254 5340 subq.w D0, 1 00000256 6B62 bmi +0x64 /* 000002BA */ 00000258 0C40 0008 cmpi.w D0, 0x8 0000025C 6E5C bgt +0x5E /* 000002BA */ 0000025E D040 add.w D0, D0 00000260 303B 0006 move.w D0, [PC + D0.w + 0x6] 00000264 4EFB 0000 jmp [PC + D0.w] 00000268 0034 0034 0034 ori.b [A4 + D0.w + 0x34], 0x34 /* '4' */ 0000026E 0014 0014 ori.b [A4], 0x14 00000272 0014 003E ori.b [A4], 0x3E /* '>' */ 00000276 003E 003E ori.b <>, 0x3E /* '>' */ 0000027A 302E FFEA move.w D0, [A6 - 0x16] 0000027E 906E FFE6 sub.w D0, [A6 - 0x1A] 00000282 906E FFFA sub.w D0, [A6 - 0x6] 00000286 322E FFF6 move.w D1, [A6 - 0xA] 0000028A D240 add.w D1, D0 0000028C 48C1 ext.l D1 0000028E 83FC 0002 divs.w D1, 0x2 00000292 D246 add.w D1, D6 00000294 3D41 FFE2 move.w [A6 - 0x1E], D1 00000298 6020 bra +0x22 /* 000002BA */ 0000029A 3006 move.w D0, D6 0000029C D045 add.w D0, D5 0000029E 3D40 FFE2 move.w [A6 - 0x1E], D0 000002A2 6016 bra +0x18 /* 000002BA */ 000002A4 302E FFF2 move.w D0, [A6 - 0xE] 000002A8 906E FFEE sub.w D0, [A6 - 0x12] 000002AC D046 add.w D0, D6 000002AE D045 add.w D0, D5 000002B0 322E FFEA move.w D1, [A6 - 0x16] 000002B4 9240 sub.w D1, D0 000002B6 3D41 FFE2 move.w [A6 - 0x1E], D1 label000002BA: 000002BA 2F14 move.l -[A7], [A4] 000002BC 2F2E FFE0 move.l -[A7], [A6 - 0x20] 000002C0 4267 clr.w -[A7] 000002C2 A91B trap MoveWindow 000002C4 102E 0008 move.b D0, [A6 + 0x8] 000002C8 6708 beq +0xA /* 000002D2 */ 000002CA 2F14 move.l -[A7], [A4] 000002CC A915 trap ShowWindow 000002CE 2F14 move.l -[A7], [A4] 000002D0 A91F trap SelectWindow label000002D2: 000002D2 4CDF 18E0 movem.l A4,A3,D7,D6,D5, [A7]+ 000002D6 4E5E unlink A6 000002D8 205F movea.l A0, [A7]+ 000002DA DEFC 000A add.w A7, 0xA /* '\n' */ 000002DE 4ED0 jmp [A0] export_27: fn000002E0: 000002E0 4E56 FFEE link A6, -0x0012 000002E4 2F07 move.l -[A7], D7 000002E6 4207 clr.b D7 label000002E8: 000002E8 2F3C FFFF 0000 move.l -[A7], 0xFFFF0000 000002EE 486E FFF0 pea.l [A6 - 0x10] 000002F2 A970 trap GetNextEvent 000002F4 101F move.b D0, [A7]+ 000002F6 6714 beq +0x16 /* 0000030C */ 000002F8 302E FFF0 move.w D0, [A6 - 0x10] 000002FC 5340 subq.w D0, 1 000002FE 670A beq +0xC /* 0000030A */ 00000300 5540 subq.w D0, 2 00000302 6706 beq +0x8 /* 0000030A */ 00000304 5540 subq.w D0, 2 00000306 6702 beq +0x4 /* 0000030A */ 00000308 6002 bra +0x4 /* 0000030C */ label0000030A: 0000030A 7E01 moveq.l D7, 0x01 label0000030C: 0000030C 1007 move.b D0, D7 0000030E 67D8 beq -0x26 /* 000002E8 */ 00000310 2F3C 0000 FFFF move.l -[A7], 0xFFFF 00000316 201F move.l D0, [A7]+ 00000318 A032 trap FlushEvents 0000031A 2E1F move.l D7, [A7]+ 0000031C 4E5E unlink A6 0000031E 4E75 rts export_28: fn00000320: 00000320 4E56 FFEC link A6, -0x0014 00000324 206E 0008 movea.l A0, [A6 + 0x8] 00000328 43EE FFF0 lea.l A1, [A6 - 0x10] 0000032C 22D8 move.l [A1]+, [A0]+ 0000032E 22D8 move.l [A1]+, [A0]+ 00000330 22D8 move.l [A1]+, [A0]+ 00000332 22D8 move.l [A1]+, [A0]+ 00000334 2D6E FFF2 FFEC move.l [A6 - 0x14], [A6 - 0xE] 0000033A 4240 clr.w D0 0000033C 102E FFEF move.b D0, [A6 - 0x11] 00000340 3D40 000C move.w [A6 + 0xC], D0 00000344 4E5E unlink A6 00000346 2E9F move.l [A7], [A7]+ 00000348 4E75 rts export_29: fn0000034A: 0000034A 4E56 FFEE link A6, -0x0012 0000034E 2F2E 000A move.l -[A7], [A6 + 0xA] 00000352 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000356 486E FFFE pea.l [A6 - 0x2] 0000035A 486E FFFA pea.l [A6 - 0x6] 0000035E 486E FFF2 pea.l [A6 - 0xE] 00000362 A98D trap GetDialogItem/GetDItem 00000364 2F2E FFFA move.l -[A7], [A6 - 0x6] 00000368 3F3C 00FD move.w -[A7], 0xFD 0000036C A95D trap HiliteControl 0000036E 7008 moveq.l D0, 0x08 00000370 2F00 move.l -[A7], D0 00000372 486E FFEE pea.l [A6 - 0x12] 00000376 4EAD 0062 jsr [A5 + 0x62] 0000037A 2F2E FFFA move.l -[A7], [A6 - 0x6] 0000037E 4267 clr.w -[A7] 00000380 A95D trap HiliteControl 00000382 4E5E unlink A6 00000384 205F movea.l A0, [A7]+ 00000386 5C4F addq.w A7, 6 00000388 4ED0 jmp [A0] export_30: 0000038A 4E56 FFF2 link A6, -0x000E 0000038E 48E7 0300 movem.l -[A7], D6,D7 00000392 206E 0008 movea.l A0, [A6 + 0x8] 00000396 43EE FFF8 lea.l A1, [A6 - 0x8] 0000039A 22D8 move.l [A1]+, [A0]+ 0000039C 22D8 move.l [A1]+, [A0]+ 0000039E 422E 000C clr.b [A6 + 0xC] 000003A2 486E FFF8 pea.l [A6 - 0x8] 000003A6 A8A4 trap InverRect 000003A8 7E01 moveq.l D7, 0x01 label000003AA: 000003AA 486E FFF4 pea.l [A6 - 0xC] 000003AE A972 trap GetMouse 000003B0 4267 clr.w -[A7] 000003B2 2F2E FFF4 move.l -[A7], [A6 - 0xC] 000003B6 486E FFF8 pea.l [A6 - 0x8] 000003BA A8AD trap PtInRect 000003BC 1C1F move.b D6, [A7]+ 000003BE BE06 cmp.b D7, D6 000003C0 6708 beq +0xA /* 000003CA */ 000003C2 1E06 move.b D7, D6 000003C4 486E FFF8 pea.l [A6 - 0x8] 000003C8 A8A4 trap InverRect label000003CA: 000003CA 4267 clr.w -[A7] 000003CC A973 trap StillDown 000003CE 101F move.b D0, [A7]+ 000003D0 0A00 0001 xori.b D0, 0x1 000003D4 67D4 beq -0x2A /* 000003AA */ 000003D6 7001 moveq.l D0, 0x01 000003D8 B007 cmp.b D0, D7 000003DA 660C bne +0xE /* 000003E8 */ 000003DC 486E FFF8 pea.l [A6 - 0x8] 000003E0 A8A4 trap InverRect 000003E2 1D7C 0001 000C move.b [A6 + 0xC], 0x1 label000003E8: 000003E8 4CDF 00C0 movem.l D7,D6, [A7]+ 000003EC 4E5E unlink A6 000003EE 2E9F move.l [A7], [A7]+ 000003F0 4E75 rts fn000003F2: 000003F2 4E56 FFF0 link A6, -0x0010 000003F6 486E FFF0 pea.l [A6 - 0x10] 000003FA A976 trap GetKeys 000003FC 4267 clr.w -[A7] 000003FE 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000402 A86B trap LoWord 00000404 301F move.w D0, [A7]+ 00000406 41BC 007F 3200 .invalid 0, 0x7F3200 // invalid opcode 4 with b == 6 0000040C E641 asr D1.w, 3 0000040E 0136 10F0 btst [A6 + D1.w - 0x10], D0 00000412 56C0 sne D0 00000414 0240 0001 andi.w D0, 0x1 00000418 1D40 000C move.b [A6 + 0xC], D0 0000041C 4E5E unlink A6 0000041E 2E9F move.l [A7], [A7]+ 00000420 4E75 rts export_31: 00000422 4E56 FFF4 link A6, -0x000C 00000426 48E7 0318 movem.l -[A7], D6,D7,A3,A4 0000042A 266E 0010 movea.l A3, [A6 + 0x10] 0000042E 286E 0008 movea.l A4, [A6 + 0x8] 00000432 422E 0014 clr.b [A6 + 0x14] 00000436 206E 000C movea.l A0, [A6 + 0xC] 0000043A 3010 move.w D0, [A0] 0000043C 5340 subq.w D0, 1 0000043E 671E beq +0x20 /* 0000045E */ 00000440 5540 subq.w D0, 2 00000442 675E beq +0x60 /* 000004A2 */ 00000444 5540 subq.w D0, 2 00000446 675A beq +0x5C /* 000004A2 */ 00000448 5340 subq.w D0, 1 0000044A 6704 beq +0x6 /* 00000450 */ 0000044C 6000 00CC bra +0xCE /* 0000051A */ label00000450: 00000450 1D7C 0001 0014 move.b [A6 + 0x14], 0x1 00000456 38BC 01F5 move.w [A4], 0x1F5 0000045A 6000 00BE bra +0xC0 /* 0000051A */ label0000045E: 0000045E 206E 000C movea.l A0, [A6 + 0xC] 00000462 2D68 000A FFF8 move.l [A6 - 0x8], [A0 + 0xA] 00000468 4267 clr.w -[A7] 0000046A 2F2E FFF8 move.l -[A7], [A6 - 0x8] 0000046E 486E FFF4 pea.l [A6 - 0xC] 00000472 A92C trap FindWindow 00000474 3C1F move.w D6, [A7]+ 00000476 3006 move.w D0, D6 00000478 5940 subq.w D0, 4 0000047A 6704 beq +0x6 /* 00000480 */ 0000047C 6000 009C bra +0x9E /* 0000051A */ label00000480: 00000480 B7EE FFF4 cmpa.l A3, [A6 - 0xC] 00000484 6600 0094 bne +0x96 /* 0000051A */ 00000488 2F2E FFF4 move.l -[A7], [A6 - 0xC] 0000048C 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000490 486D FC2E pea.l [A5 - 0x3D2] 00000494 A925 trap DragWindow 00000496 1D7C 0001 0014 move.b [A6 + 0x14], 0x1 0000049C 38BC 01F4 move.w [A4], 0x1F4 000004A0 6078 bra +0x7A /* 0000051A */ label000004A2: 000004A2 4267 clr.w -[A7] 000004A4 2F2E 000C move.l -[A7], [A6 + 0xC] 000004A8 4EBA FE76 jsr [PC - 0x18A /* 00000320 */] 000004AC 3E1F move.w D7, [A7]+ 000004AE 4267 clr.w -[A7] 000004B0 7037 moveq.l D0, 0x37 000004B2 2F00 move.l -[A7], D0 000004B4 4EBA FF3C jsr [PC - 0xC4 /* 000003F2 */] 000004B8 101F move.b D0, [A7]+ 000004BA 6720 beq +0x22 /* 000004DC */ 000004BC 722E moveq.l D1, 0x2E 000004BE B247 cmp.w D1, D7 000004C0 57C1 seq D1 000004C2 C001 and.b D0, D1 000004C4 6716 beq +0x18 /* 000004DC */ 000004C6 1D7C 0001 0014 move.b [A6 + 0x14], 0x1 000004CC 2F0B move.l -[A7], A3 000004CE 3F3C 0002 move.w -[A7], 0x2 000004D2 4EBA FE76 jsr [PC - 0x18A /* 0000034A */] 000004D6 38BC 0002 move.w [A4], 0x2 000004DA 603E bra +0x40 /* 0000051A */ label000004DC: 000004DC 3007 move.w D0, D7 000004DE 6B18 bmi +0x1A /* 000004F8 */ 000004E0 B07C 000F cmp.w D0, 0xF 000004E4 6E12 bgt +0x14 /* 000004F8 */ 000004E6 41FA 0042 lea.l A0, [PC + 0x42 /* 0000052A */] 000004EA 3200 move.w D1, D0 000004EC E649 lsr D1.w, 3 000004EE 4441 neg.w D1 000004F0 0130 10FF btst [A0 + D1.w - 0x1], D0 000004F4 0A3C 0004 xori.b ccr, 4 label000004F8: 000004F8 6620 bne +0x22 /* 0000051A */ 000004FA 1D7C 0001 0014 move.b [A6 + 0x14], 0x1 00000500 4AAB 0098 tst.l [A3 + 0x98] 00000504 6F10 ble +0x12 /* 00000516 */ 00000506 2F0B move.l -[A7], A3 00000508 3F3C 0001 move.w -[A7], 0x1 0000050C 4EBA FE3C jsr [PC - 0x1C4 /* 0000034A */] 00000510 38BC 0001 move.w [A4], 0x1 00000514 6004 bra +0x6 /* 0000051A */ label00000516: 00000516 38BC FFFF move.w [A4], 0xFFFF label0000051A: 0000051A 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+ 0000051E 4E5E unlink A6 00000520 205F movea.l A0, [A7]+ 00000522 DEFC 000C add.w A7, 0xC 00000526 4ED0 jmp [A0] 00000528 2008 move.l D0, A0 export_32: fn0000052A: 0000052A 4E56 FFEE link A6, -0x0012 0000052E 486E FFEE pea.l [A6 - 0x12] 00000532 A874 trap GetPort 00000534 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000538 A873 trap SetPort 0000053A 2F3C 0003 0003 move.l -[A7], 0x30003 00000540 A89B trap PenSize 00000542 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000546 3F3C 0001 move.w -[A7], 0x1 0000054A 486E FFFE pea.l [A6 - 0x2] 0000054E 486E FFF2 pea.l [A6 - 0xE] 00000552 486E FFF6 pea.l [A6 - 0xA] 00000556 A98D trap GetDialogItem/GetDItem 00000558 486E FFF6 pea.l [A6 - 0xA] 0000055C 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC 00000562 A8A9 trap InsetRect 00000564 486E FFF6 pea.l [A6 - 0xA] 00000568 2F3C 0010 0010 move.l -[A7], 0x100010 0000056E A8B0 trap FrameRoundRect 00000570 2F3C 0001 0001 move.l -[A7], 0x10001 00000576 A89B trap PenSize 00000578 2F2E FFEE move.l -[A7], [A6 - 0x12] 0000057C A873 trap SetPort 0000057E 4E5E unlink A6 00000580 2E9F move.l [A7], [A7]+ 00000582 4E75 rts export_33: 00000584 4E56 FFFE link A6, -0x0002 00000588 48E7 0308 movem.l -[A7], D6,D7,A4 0000058C 3C2E 000C move.w D6, [A6 + 0xC] 00000590 7EFF moveq.l D7, 0xFFFFFFFF 00000592 206E 0008 movea.l A0, [A6 + 0x8] 00000596 2850 movea.l A4, [A0] 00000598 302C 005E move.w D0, [A4 + 0x5E] 0000059C 5340 subq.w D0, 1 0000059E 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6 000005A4 BC74 0060 cmp.w D6, [A4 + D0.w + 0x60] 000005A8 6D08 blt +0xA /* 000005B2 */ 000005AA 3E2C 005E move.w D7, [A4 + 0x5E] 000005AE 5347 subq.w D7, 1 000005B0 6020 bra +0x22 /* 000005D2 */ label000005B2: 000005B2 5247 addq.w D7, 1 000005B4 3007 move.w D0, D7 000005B6 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6 000005BC BC74 0060 cmp.w D6, [A4 + D0.w + 0x60] 000005C0 6EF0 bgt -0xE /* 000005B2 */ 000005C2 3007 move.w D0, D7 000005C4 41BC 3E80 D040 .invalid 0, 0x3E80D040 // invalid opcode 4 with b == 6 000005CA BC74 0060 cmp.w D6, [A4 + D0.w + 0x60] 000005CE 6C02 bge +0x4 /* 000005D2 */ 000005D0 5347 subq.w D7, 1 label000005D2: 000005D2 3D47 000E move.w [A6 + 0xE], D7 000005D6 4CDF 10C0 movem.l A4,D7,D6, [A7]+ 000005DA 4E5E unlink A6 000005DC 205F movea.l A0, [A7]+ 000005DE 5C4F addq.w A7, 6 000005E0 4ED0 jmp [A0] export_34: 000005E2 4E56 FEE0 link A6, -0x0120 000005E6 2F0C move.l -[A7], A4 000005E8 486E FFF4 pea.l [A6 - 0xC] 000005EC A874 trap GetPort 000005EE 3D7C 0002 FFF0 move.w [A6 - 0x10], 0x2 000005F4 102D D81F move.b D0, [A5 - 0x27E1] 000005F8 6700 00D4 beq +0xD6 /* 000006CE */ 000005FC 42A7 clr.l -[A7] 000005FE 3F3C 0BB7 move.w -[A7], 0xBB7 00000602 42A7 clr.l -[A7] 00000604 70FF moveq.l D0, 0xFFFFFFFF 00000606 2F00 move.l -[A7], D0 00000608 A97C trap GetNewDialog 0000060A 2D57 FFF8 move.l [A6 - 0x8], [A7] 0000060E 3F3C 0003 move.w -[A7], 0x3 00000612 486E FFF2 pea.l [A6 - 0xE] 00000616 486E FFE4 pea.l [A6 - 0x1C] 0000061A 486E FFE8 pea.l [A6 - 0x18] 0000061E A98D trap GetDialogItem/GetDItem 00000620 42A7 clr.l -[A7] 00000622 3F3C 0BB8 move.w -[A7], 0xBB8 00000626 A9BA trap GetString 00000628 285F movea.l A4, [A7]+ 0000062A 2054 movea.l A0, [A4] 0000062C 1F10 move.b -[A7], [A0] 0000062E 3F3C 00FF move.w -[A7], 0xFF 00000632 4EAD 02DA jsr [A5 + 0x2DA] 00000636 43EE FEE0 lea.l A1, [A6 - 0x120] 0000063A 703F moveq.l D0, 0x3F label0000063C: 0000063C 22D8 move.l [A1]+, [A0]+ 0000063E 51C8 FFFC dbf D0, -0x6 /* 0000063C */ 00000642 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000646 41EE FEE0 lea.l A0, [A6 - 0x120] 0000064A 1F10 move.b -[A7], [A0] 0000064C 3F3C 00FF move.w -[A7], 0xFF 00000650 4EAD 02DA jsr [A5 + 0x2DA] 00000654 2F08 move.l -[A7], A0 00000656 A98F trap SetDialogItemText/SetIText 00000658 2F2E FFF8 move.l -[A7], [A6 - 0x8] 0000065C 3F3C 0004 move.w -[A7], 0x4 00000660 486E FFF2 pea.l [A6 - 0xE] 00000664 486E FFE4 pea.l [A6 - 0x1C] 00000668 486E FFE8 pea.l [A6 - 0x18] 0000066C A98D trap GetDialogItem/GetDItem 0000066E 42A7 clr.l -[A7] 00000670 3F3C 0BB9 move.w -[A7], 0xBB9 00000674 A9BA trap GetString 00000676 285F movea.l A4, [A7]+ 00000678 2054 movea.l A0, [A4] 0000067A 1F10 move.b -[A7], [A0] 0000067C 3F3C 00FF move.w -[A7], 0xFF 00000680 4EAD 02DA jsr [A5 + 0x2DA] 00000684 43EE FEE0 lea.l A1, [A6 - 0x120] 00000688 703F moveq.l D0, 0x3F label0000068A: 0000068A 22D8 move.l [A1]+, [A0]+ 0000068C 51C8 FFFC dbf D0, -0x6 /* 0000068A */ 00000690 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000694 41EE FEE0 lea.l A0, [A6 - 0x120] 00000698 1F10 move.b -[A7], [A0] 0000069A 3F3C 00FF move.w -[A7], 0xFF 0000069E 4EAD 02DA jsr [A5 + 0x2DA] 000006A2 2F08 move.l -[A7], A0 000006A4 A98F trap SetDialogItemText/SetIText 000006A6 486E FFF8 pea.l [A6 - 0x8] 000006AA 2F3C 001E 0004 move.l -[A7], 0x1E0004 000006B0 1F3C 0001 move.b -[A7], 0x1 000006B4 4EBA FA62 jsr [PC - 0x59E /* 00000118 */] 000006B8 2F2E FFF8 move.l -[A7], [A6 - 0x8] 000006BC A873 trap SetPort 000006BE 2F2E FFF8 move.l -[A7], [A6 - 0x8] 000006C2 4EBA FE66 jsr [PC - 0x19A /* 0000052A */] 000006C6 42A7 clr.l -[A7] 000006C8 486E FFF0 pea.l [A6 - 0x10] 000006CC A991 trap ModalDialog label000006CE: 000006CE 7002 moveq.l D0, 0x02 000006D0 B06E FFF0 cmp.w D0, [A6 - 0x10] 000006D4 6648 bne +0x4A /* 0000071E */ 000006D6 42A7 clr.l -[A7] 000006D8 3F3C 0BB8 move.w -[A7], 0xBB8 000006DC 42A7 clr.l -[A7] 000006DE 70FF moveq.l D0, 0xFFFFFFFF 000006E0 2F00 move.l -[A7], D0 000006E2 A97C trap GetNewDialog 000006E4 2D5F FFFC move.l [A6 - 0x4], [A7]+ 000006E8 486E FFFC pea.l [A6 - 0x4] 000006EC 2F3C 001E 0004 move.l -[A7], 0x1E0004 000006F2 1F3C 0001 move.b -[A7], 0x1 000006F6 4EBA FA20 jsr [PC - 0x5E0 /* 00000118 */] 000006FA 2F2E FFFC move.l -[A7], [A6 - 0x4] 000006FE A873 trap SetPort 00000700 2F2E FFFC move.l -[A7], [A6 - 0x4] 00000704 A981 trap DrawDialog 00000706 4EBA FBD8 jsr [PC - 0x428 /* 000002E0 */] 0000070A 102D D81F move.b D0, [A5 - 0x27E1] 0000070E 6706 beq +0x8 /* 00000716 */ 00000710 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000714 A983 trap DisposeDialog label00000716: 00000716 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000071A A983 trap DisposeDialog 0000071C 6006 bra +0x8 /* 00000724 */ label0000071E: 0000071E 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000722 A983 trap DisposeDialog label00000724: 00000724 2F2E FFF4 move.l -[A7], [A6 - 0xC] 00000728 A873 trap SetPort 0000072A 285F movea.l A4, [A7]+ 0000072C 4E5E unlink A6 0000072E 4E75 rts export_35: 00000730 4E56 FFFC link A6, -0x0004 00000734 2F07 move.l -[A7], D7 00000736 3D6E 0008 FFFC move.w [A6 - 0x4], [A6 + 0x8] 0000073C 3E2E 000A move.w D7, [A6 + 0xA] 00000740 6022 bra +0x24 /* 00000764 */ label00000742: 00000742 BE6E 000C cmp.w D7, [A6 + 0xC] 00000746 660E bne +0x10 /* 00000756 */ 00000748 2F2E 000E move.l -[A7], [A6 + 0xE] 0000074C 3F07 move.w -[A7], D7 0000074E 1F3C 0001 move.b -[A7], 0x1 00000752 A945 trap CheckItem 00000754 600A bra +0xC /* 00000760 */ label00000756: 00000756 2F2E 000E move.l -[A7], [A6 + 0xE] 0000075A 3F07 move.w -[A7], D7 0000075C 4267 clr.w -[A7] 0000075E A945 trap CheckItem label00000760: 00000760 5247 addq.w D7, 1 00000762 6906 bvs +0x8 /* 0000076A */ label00000764: 00000764 BE6E FFFC cmp.w D7, [A6 - 0x4] 00000768 6FD8 ble -0x26 /* 00000742 */ label0000076A: 0000076A 2E1F move.l D7, [A7]+ 0000076C 4E5E unlink A6 0000076E 205F movea.l A0, [A7]+ 00000770 DEFC 000A add.w A7, 0xA /* '\n' */ 00000774 4ED0 jmp [A0] export_36: 00000776 4E56 FFEA link A6, -0x0016 0000077A 48E7 0108 movem.l -[A7], D7,A4 0000077E 3D6E 0008 FFEA move.w [A6 - 0x16], [A6 + 0x8] 00000784 3E2E 000A move.w D7, [A6 + 0xA] 00000788 6032 bra +0x34 /* 000007BC */ label0000078A: 0000078A 2F2E 000E move.l -[A7], [A6 + 0xE] 0000078E 3F07 move.w -[A7], D7 00000790 486E FFFC pea.l [A6 - 0x4] 00000794 486E FFF8 pea.l [A6 - 0x8] 00000798 486E FFF0 pea.l [A6 - 0x10] 0000079C A98D trap GetDialogItem/GetDItem 0000079E 286E FFF8 movea.l A4, [A6 - 0x8] 000007A2 BE6E 000C cmp.w D7, [A6 + 0xC] 000007A6 660A bne +0xC /* 000007B2 */ 000007A8 2F0C move.l -[A7], A4 000007AA 3F3C 0001 move.w -[A7], 0x1 000007AE A963 trap SetControlValue/SetCtlValue 000007B0 6006 bra +0x8 /* 000007B8 */ label000007B2: 000007B2 2F0C move.l -[A7], A4 000007B4 4267 clr.w -[A7] 000007B6 A963 trap SetControlValue/SetCtlValue label000007B8: 000007B8 5247 addq.w D7, 1 000007BA 6906 bvs +0x8 /* 000007C2 */ label000007BC: 000007BC BE6E FFEA cmp.w D7, [A6 - 0x16] 000007C0 6FC8 ble -0x36 /* 0000078A */ label000007C2: 000007C2 4CDF 1080 movem.l A4,D7, [A7]+ 000007C6 4E5E unlink A6 000007C8 205F movea.l A0, [A7]+ 000007CA DEFC 000A add.w A7, 0xA /* '\n' */ 000007CE 4ED0 jmp [A0] export_37: 000007D0 4E56 0000 link A6, 0 000007D4 302E 000A move.w D0, [A6 + 0xA] 000007D8 B06E 0008 cmp.w D0, [A6 + 0x8] 000007DC 6F08 ble +0xA /* 000007E6 */ 000007DE 3D6E 000A 000C move.w [A6 + 0xC], [A6 + 0xA] 000007E4 6006 bra +0x8 /* 000007EC */ label000007E6: 000007E6 3D6E 0008 000C move.w [A6 + 0xC], [A6 + 0x8] label000007EC: 000007EC 4E5E unlink A6 000007EE 2E9F move.l [A7], [A7]+ 000007F0 4E75 rts export_38: 000007F2 4E56 0000 link A6, 0 000007F6 302E 000A move.w D0, [A6 + 0xA] 000007FA B06E 0008 cmp.w D0, [A6 + 0x8] 000007FE 6F08 ble +0xA /* 00000808 */ 00000800 3D6E 0008 000C move.w [A6 + 0xC], [A6 + 0x8] 00000806 6006 bra +0x8 /* 0000080E */ label00000808: 00000808 3D6E 000A 000C move.w [A6 + 0xC], [A6 + 0xA] label0000080E: 0000080E 4E5E unlink A6 00000810 2E9F move.l [A7], [A7]+ 00000812 4E75 rts